{% extends "base.html" %}

{% block external %}
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js"></script>
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/static/js/spindleEdit.js"></script>
	<script type="text/javascript" src="/static/js/editor.js"></script>
	<script type="text/javascript" src="/static/js/plupload.js"></script>
	<script type="text/javascript" src="/static/js/plupload.html5.js"></script>
	<script type="text/javascript" src="/static/js/jquery.simplemodal.1.4.1.min.js"></script>

	<script type="text/javascript">
		$(function () {
			this.App = new AppView({ username: "{{ my_user.username }}" });
		});
	</script>

{% endblock %}

{% block content %}

<div id="profile-page" class="grid_3">
	<h1>{{ my_user.username }}</h1>
	
	<span class="create-list-link"><a href="">+ New List</a></span>
		
	<ul id="my-lists">
	</ul>
	<div id="confirm">
			<div class="message">Are you sure you want to delete?</div>
			<div class="buttons">
				<div class="no simplemodal-close">No</div><div class="yes">Yes</div>
			</div>
	</div>
</div>

<div class="grid_6">
	<div id="list-builder">
	</div>
</div>
{% endblock %}